package com.tln.sys.menu.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import javacommon.base.BaseRestSpringController;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

import com.tln.sys.menu.model.Menu;


@Controller
@RequestMapping("/sys/iframe/**")
public class IframeController extends BaseRestSpringController<Menu,java.lang.Long>{
	
	private static final Logger logger = LoggerFactory.getLogger(MenuController.class);
	
	//默认方法
	@Override
	public String index(HttpServletRequest request,HttpServletResponse response,
			@ModelAttribute Menu entity,Model model) {
		logger.info("index............");
		return "/sys/iframe/index";
	}
	

}
